<?php

return [
    'menu' => [
        'user' => [  /// controller名
            'name' => '会员列表',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '会员列表', 'uri' => '/user/index', 'show' => true, 'method' => 'get'],
                'user_edit' => ['name' => '编辑会员', 'uri' => '/user/user_edit', 'show' => false, 'method' => 'get|post'],
                'user_add' => ['name' => '添加会员', 'uri' => '/user/user_add', 'show' => false, 'method' => 'get|post'],
                'giveminging' => ['name' => '赠送矿机', 'uri' => '/user/giveminging', 'show' => false, 'method' => 'get|post'],
                'moneystr' => ['name' => '资产修改', 'uri' => '/user/moneystr', 'show' => false, 'method' => 'get|post'],
                'userauth' => ['name' => '身份认证', 'uri' => '/user/userauth', 'show' => true, 'method' => 'get'],
                'userauthstr' => ['name' => '身份认证审核', 'uri' => '/user/userauthstr', 'show' => false, 'method' => 'get|post'],
                'userauthfast' => ['name' => '快速实名', 'uri' => '/user/userauthfast', 'show' => false, 'method' => 'get|post'],
                'usersafety' => ['name' => '会员收款信息', 'uri' => '/user/usersafety', 'show' => false, 'method' => 'get'],
                'usersafetystr' => ['name' => '会员收款信息删除', 'uri' => '/user/usersafetystr', 'show' => false, 'method' => 'get|post'],
                'signlog' => ['name' => '签到记录', 'uri' => '/user/signlog', 'show' => false, 'method' => 'get'],
                'userconfig' => ['name' => '升级条件列表', 'uri' => '/user/userconfig', 'show' => true, 'method' => 'get'],
                'userconfigstr' => ['name' => '会员条件配置', 'uri' => '/user/userconfigstr', 'show' => false, 'method' => 'get|post'],
                'userteam' => ['name' => '会员结构表', 'uri' => '/user/userteam', 'show' => true, 'method' => 'get'],
                'userteamstr' => ['name' => '会员结构数据', 'uri' => '/user/userteamstr', 'show' => false, 'method' => 'get'],
                'moneylog' => ['name' => '资产记录', 'uri' => '/user/moneylog', 'show' => true, 'method' => 'get'],
                'smslog' => ['name' => '短信发送日志', 'uri' => '/user/smslog', 'show' => true, 'method' => 'get'],
                'statusstr' => ['name' => '冻结|解冻账号', 'uri' => '/user/statusstr', 'show' => false, 'method' => 'get|post'],

            ],
            'show' => true,
        ],
        'hall' => [  /// controller名
            'name' => '功能大厅',
            'ico' => '&#xe726;',
            'sub' => [
                'minging' => ['name' => '矿机列表', 'uri' => '/hall/minging', 'show' => true, 'method' => 'get'],
                'minging_edit' => ['name' => '编辑矿机', 'uri' => '/hall/minging_edit', 'show' => false, 'method' => 'get|post'],
                'userminging' => ['name' => '用户矿机', 'uri' => '/hall/userminging', 'show' => true, 'method' => 'get'],
                'usermingingstr' => ['name' => '结束矿机', 'uri' => '/hall/usermingingstr', 'show' => false, 'method' => 'get|post'],
                'halls' => ['name' => '交易大厅', 'uri' => '/hall/halls', 'show' => true, 'method' => 'get'],
                'hallsstr' => ['name' => '大厅驳回|放行操作', 'uri' => '/hall/hallsstr', 'show' => false, 'method' => 'get|post'],
                'hallapply' => ['name' => '大厅申诉列表', 'uri' => '/hall/hallapply', 'show' => true, 'method' => 'get'],
                'hallapplystr' => ['name' => '大厅申诉审核', 'uri' => '/hall/hallapplystr', 'show' => false, 'method' => 'post'],
                'contact' => ['name' => '合约列表', 'uri' => '/hall/contact', 'show' => true, 'method' => 'get'],
                'contactliststr' => ['name' => '编辑合约', 'uri' => '/hall/contactliststr', 'show' => false, 'method' => 'post|get'],
                'contactgiveing' => ['name' => '收益中合约', 'uri' => '/hall/contactgiveing', 'show' => true, 'method' => 'get'],
                'contactgiveingstr' => ['name' => '收益中合约', 'uri' => '/hall/contactgiveingstr', 'show' => false, 'method' => 'get|post'],
                'contacting' => ['name' => '待匹配合约', 'uri' => '/hall/contacting', 'show' => true, 'method' => 'get'],
                'contactdel' => ['name' => '销毁合约', 'uri' => '/hall/contactdel', 'show' => false, 'method' => 'get|post'],
                'contactadd' => ['name' => '添加用户合约', 'uri' => '/hall/contactadd', 'show' => false, 'method' => 'get|post'],
                'yuyue' => ['name' => '预约合约', 'uri' => '/hall/yuyue', 'show' => true, 'method' => 'get'],
                'yuyuestr' => ['name' => '优先操作', 'uri' => '/hall/yuyuestr', 'show' => false, 'method' => 'get|post'],
                'contactings' => ['name' => '合约交易记录', 'uri' => '/hall/contactings', 'show' => true, 'method' => 'get'],
                'contactstr' => ['name' => '交易中合约操作', 'uri' => '/hall/contactstr', 'show' => false, 'method' => 'get|post'],
                'conapple' => ['name' => '申诉合约', 'uri' => '/hall/conapple', 'show' => true, 'method' => 'get'],
                'conapplestr' => ['name' => '申诉合约操作', 'uri' => '/hall/conapplestr', 'show' => false, 'method' => 'get|post'],
                'conapply' => ['name' => '兑换申请合约', 'uri' => '/hall/conapply', 'show' => true, 'method' => 'get'],
                'conapplystr' => ['name' => '兑换申请合约操作', 'uri' => '/hall/conapplystr', 'show' => false, 'method' => 'get|post'],

            ],
            'show' => true,
        ],
        'admin' => [  /// controller名
            'name' => '权限管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '删除管理员', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统管理',
            'ico' => '&#xe6ae;',
            'sub' => [
                'index' => ['name' => '系统配置', 'uri' => '/system/index', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'config_edit' => ['name' => '修改', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'annou' => ['name' => '系统公告', 'uri' => '/system/annou', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'annou_add' => ['name' => '添加/修改', 'uri' => '/system/annou_add', 'show' => false, 'method' => 'get|post'],
                'annou_del' => ['name' => '删除', 'uri' => '/system/annou_del', 'show' => false, 'method' => 'get|post'],
                'ad' => ['name' => '系统轮播图', 'uri' => '/system/ad', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'ad_add' => ['name' => '添加/修改', 'uri' => '/system/ad_add', 'show' => false, 'method' => 'get|post'],
                'ad_del' => ['name' => '删除', 'uri' => '/system/ad_del', 'show' => false, 'method' => 'get|post'],
                'kefu' => ['name' => '客服信息', 'uri' => '/system/kefu', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'kefu_add' => ['name' => '添加/修改', 'uri' => '/system/kefu_add', 'show' => false, 'method' => 'get|post'],
                'kefu_del' => ['name' => '删除', 'uri' => '/system/kefu_del', 'show' => false, 'method' => 'get|post'],
                'news' => ['name' => '新闻资讯', 'uri' => '/system/news', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'news_add' => ['name' => '添加/修改', 'uri' => '/system/news_add', 'show' => false, 'method' => 'get|post'],
                'news_del' => ['name' => '删除', 'uri' => '/system/news_del', 'show' => false, 'method' => 'get|post'],
                'price' => ['name' => '平台价格', 'uri' => '/system/price', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'price_add' => ['name' => '添加/修改', 'uri' => '/system/price_add', 'show' => false, 'method' => 'get|post'],
                'message' => ['name' => '反馈信息管理', 'uri' => '/system/message', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'message_add' => ['name' => '评论回复', 'uri' => '/system/message_add', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true, //是否打开这个功能
        ]
    ]
];
